package com.back.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 考试表
 * @TableName exams
 */
@TableName(value ="exams")
@Data
public class Exams {
    /**
     * 考试ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 考试标题
     */
    private String title;

    /**
     * 类型 0考试 1试卷
     */
    private Integer  type;

    /**
     * 考试描述
     */
    private String description;

    /**
     * 总分
     */
    private Integer totalScore;

    /**
     * 时间限制(分钟)
     */
    private Integer timeLimit;

    /**
     * 是否启用
     */
    private Integer isActive;

    /**
     * 
     */
    private Date createdTime;

    /**
     * 
     */
    private Date updatedTime;

    private Integer delFlag;
    private Integer belongId;
}